//
//  ExercisesContainViewController.h
//  ShowYork
//
//  Created by hxh on 2020/9/8.
//  Copyright © 2020 hxh. All rights reserved.
//

#import "RPBaseViewController.h"
#import "ExercisesPageModel.h"
NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    XHLESSONCONTAINENTERNORMAL,
    XHLESSONCONTAINENTERTRAGET,
    XHLESSONCONTAINENTERRESULTALL,
    XHLESSONCONTAINENTERRESULTERROR,
} XHEnterType;

@interface ExercisesContainViewController : RPBaseViewController


@property (nonatomic,strong)ExercisesPageModel *dtlModel;

@property (nonatomic,assign)BOOL isVideoFinish;

/// 页面初始化方法
/// @param model 详情对象
/// @param type 跳转类型
- (instancetype)initWithDetailModel:(ExercisesPageModel * __nullable)model enterType:(XHEnterType)type;

/// 页面初始化方法
/// @param model 详情对象
/// @param questionItem 当前选择项
/// @param type 类型
- (instancetype)initWithDetailModel:(ExercisesPageModel * __nullable)model selectedQuestionItem:(ExercisesQuqestionModel * __nullable )questionItem enterType:(XHEnterType)type;

@end

NS_ASSUME_NONNULL_END
